package edu.bit.water.dao;

import java.util.ArrayList;
import java.util.List;

import edu.bit.water.dto.WaterWarningCondition;
import edu.bit.water.entity.Column;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.ResponseBody;

import edu.bit.water.entity.MetaWater;

@Mapper
@Repository
public interface MetaWaterDao {
	ArrayList<MetaWater> queryMetaWater();
	int insertMetaWater(MetaWater metaWater) throws DuplicateKeyException;
	int deleteMetaWater(String enName);
	List<Column> selectColumn();
	List<Column> selectColumnCount();
	String selectEnNameByCsName(String enName);
}
